package com.service;

import java.util.List;

import com.model.Clazz;
import com.model.ClazzProanswer;
import com.model.Paper;
import com.model.Student;
import com.util.Pagination;

public interface ClazzService {
	
	public List<Clazz> ClazzList(Clazz clazz);
	
	public List<Clazz> getAllClazzList(String sno);
	
	public List<Student> getStudenListByClazzid(int id);
	
	
	public void addClazz(Clazz clazz);

	public Clazz findByclassnum(int classnum);
	
	public void addStuList(List<Student> stuList);

	public List<Student> findByExample(Student stu);

	public List<Paper> getStudentPapers(String string);
	
	public List<Paper> getStudentPapers(int clazzid);

	public List showScore(int sid);

	public Student editInfo(int sid ,String sno, String pas);

	public boolean checkNum(int num);

	public Student StuInfo(int id);

	public Student teaEditInfo(int sid, String pas, String stuname);

	public Clazz findByClazzId(int id);

	public void addStudent(Student student);

	public void delStudent(int id);

	public void delClazzById(int id);

	public List<Student> checkNameExitByClazzid(Student stu, int id);

	public Pagination StuScore(ClazzProanswer proanswer, Pagination paperPage,
			int id);

	public List paperInfo(int uid, int pid);

	public List getPaperBycid(int id);
	
	public Student getStu(String sno , String  clazzid);
	
	public Student getStuBySnoPwd(String sno , String pwd);
}
